package com.zhongwang.mms.gen.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MAdjustmentApplyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MAdjustmentApplyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAjaIdIsNull() {
            addCriterion("aja_id is null");
            return (Criteria) this;
        }

        public Criteria andAjaIdIsNotNull() {
            addCriterion("aja_id is not null");
            return (Criteria) this;
        }

        public Criteria andAjaIdEqualTo(Integer value) {
            addCriterion("aja_id =", value, "ajaId");
            return (Criteria) this;
        }

        public Criteria andAjaIdNotEqualTo(Integer value) {
            addCriterion("aja_id <>", value, "ajaId");
            return (Criteria) this;
        }

        public Criteria andAjaIdGreaterThan(Integer value) {
            addCriterion("aja_id >", value, "ajaId");
            return (Criteria) this;
        }

        public Criteria andAjaIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("aja_id >=", value, "ajaId");
            return (Criteria) this;
        }

        public Criteria andAjaIdLessThan(Integer value) {
            addCriterion("aja_id <", value, "ajaId");
            return (Criteria) this;
        }

        public Criteria andAjaIdLessThanOrEqualTo(Integer value) {
            addCriterion("aja_id <=", value, "ajaId");
            return (Criteria) this;
        }

        public Criteria andAjaIdIn(List<Integer> values) {
            addCriterion("aja_id in", values, "ajaId");
            return (Criteria) this;
        }

        public Criteria andAjaIdNotIn(List<Integer> values) {
            addCriterion("aja_id not in", values, "ajaId");
            return (Criteria) this;
        }

        public Criteria andAjaIdBetween(Integer value1, Integer value2) {
            addCriterion("aja_id between", value1, value2, "ajaId");
            return (Criteria) this;
        }

        public Criteria andAjaIdNotBetween(Integer value1, Integer value2) {
            addCriterion("aja_id not between", value1, value2, "ajaId");
            return (Criteria) this;
        }

        public Criteria andAjaNumIsNull() {
            addCriterion("aja_num is null");
            return (Criteria) this;
        }

        public Criteria andAjaNumIsNotNull() {
            addCriterion("aja_num is not null");
            return (Criteria) this;
        }

        public Criteria andAjaNumEqualTo(Double value) {
            addCriterion("aja_num =", value, "ajaNum");
            return (Criteria) this;
        }

        public Criteria andAjaNumNotEqualTo(Double value) {
            addCriterion("aja_num <>", value, "ajaNum");
            return (Criteria) this;
        }

        public Criteria andAjaNumGreaterThan(Double value) {
            addCriterion("aja_num >", value, "ajaNum");
            return (Criteria) this;
        }

        public Criteria andAjaNumGreaterThanOrEqualTo(Double value) {
            addCriterion("aja_num >=", value, "ajaNum");
            return (Criteria) this;
        }

        public Criteria andAjaNumLessThan(Double value) {
            addCriterion("aja_num <", value, "ajaNum");
            return (Criteria) this;
        }

        public Criteria andAjaNumLessThanOrEqualTo(Double value) {
            addCriterion("aja_num <=", value, "ajaNum");
            return (Criteria) this;
        }

        public Criteria andAjaNumIn(List<Double> values) {
            addCriterion("aja_num in", values, "ajaNum");
            return (Criteria) this;
        }

        public Criteria andAjaNumNotIn(List<Double> values) {
            addCriterion("aja_num not in", values, "ajaNum");
            return (Criteria) this;
        }

        public Criteria andAjaNumBetween(Double value1, Double value2) {
            addCriterion("aja_num between", value1, value2, "ajaNum");
            return (Criteria) this;
        }

        public Criteria andAjaNumNotBetween(Double value1, Double value2) {
            addCriterion("aja_num not between", value1, value2, "ajaNum");
            return (Criteria) this;
        }

        public Criteria andAjaWeightIsNull() {
            addCriterion("aja_weight is null");
            return (Criteria) this;
        }

        public Criteria andAjaWeightIsNotNull() {
            addCriterion("aja_weight is not null");
            return (Criteria) this;
        }

        public Criteria andAjaWeightEqualTo(Double value) {
            addCriterion("aja_weight =", value, "ajaWeight");
            return (Criteria) this;
        }

        public Criteria andAjaWeightNotEqualTo(Double value) {
            addCriterion("aja_weight <>", value, "ajaWeight");
            return (Criteria) this;
        }

        public Criteria andAjaWeightGreaterThan(Double value) {
            addCriterion("aja_weight >", value, "ajaWeight");
            return (Criteria) this;
        }

        public Criteria andAjaWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("aja_weight >=", value, "ajaWeight");
            return (Criteria) this;
        }

        public Criteria andAjaWeightLessThan(Double value) {
            addCriterion("aja_weight <", value, "ajaWeight");
            return (Criteria) this;
        }

        public Criteria andAjaWeightLessThanOrEqualTo(Double value) {
            addCriterion("aja_weight <=", value, "ajaWeight");
            return (Criteria) this;
        }

        public Criteria andAjaWeightIn(List<Double> values) {
            addCriterion("aja_weight in", values, "ajaWeight");
            return (Criteria) this;
        }

        public Criteria andAjaWeightNotIn(List<Double> values) {
            addCriterion("aja_weight not in", values, "ajaWeight");
            return (Criteria) this;
        }

        public Criteria andAjaWeightBetween(Double value1, Double value2) {
            addCriterion("aja_weight between", value1, value2, "ajaWeight");
            return (Criteria) this;
        }

        public Criteria andAjaWeightNotBetween(Double value1, Double value2) {
            addCriterion("aja_weight not between", value1, value2, "ajaWeight");
            return (Criteria) this;
        }

        public Criteria andAjaDateIsNull() {
            addCriterion("aja_date is null");
            return (Criteria) this;
        }

        public Criteria andAjaDateIsNotNull() {
            addCriterion("aja_date is not null");
            return (Criteria) this;
        }

        public Criteria andAjaDateEqualTo(Date value) {
            addCriterion("aja_date =", value, "ajaDate");
            return (Criteria) this;
        }

        public Criteria andAjaDateNotEqualTo(Date value) {
            addCriterion("aja_date <>", value, "ajaDate");
            return (Criteria) this;
        }

        public Criteria andAjaDateGreaterThan(Date value) {
            addCriterion("aja_date >", value, "ajaDate");
            return (Criteria) this;
        }

        public Criteria andAjaDateGreaterThanOrEqualTo(Date value) {
            addCriterion("aja_date >=", value, "ajaDate");
            return (Criteria) this;
        }

        public Criteria andAjaDateLessThan(Date value) {
            addCriterion("aja_date <", value, "ajaDate");
            return (Criteria) this;
        }

        public Criteria andAjaDateLessThanOrEqualTo(Date value) {
            addCriterion("aja_date <=", value, "ajaDate");
            return (Criteria) this;
        }

        public Criteria andAjaDateIn(List<Date> values) {
            addCriterion("aja_date in", values, "ajaDate");
            return (Criteria) this;
        }

        public Criteria andAjaDateNotIn(List<Date> values) {
            addCriterion("aja_date not in", values, "ajaDate");
            return (Criteria) this;
        }

        public Criteria andAjaDateBetween(Date value1, Date value2) {
            addCriterion("aja_date between", value1, value2, "ajaDate");
            return (Criteria) this;
        }

        public Criteria andAjaDateNotBetween(Date value1, Date value2) {
            addCriterion("aja_date not between", value1, value2, "ajaDate");
            return (Criteria) this;
        }

        public Criteria andAjaProposerIsNull() {
            addCriterion("aja_proposer is null");
            return (Criteria) this;
        }

        public Criteria andAjaProposerIsNotNull() {
            addCriterion("aja_proposer is not null");
            return (Criteria) this;
        }

        public Criteria andAjaProposerEqualTo(String value) {
            addCriterion("aja_proposer =", value, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaProposerNotEqualTo(String value) {
            addCriterion("aja_proposer <>", value, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaProposerGreaterThan(String value) {
            addCriterion("aja_proposer >", value, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaProposerGreaterThanOrEqualTo(String value) {
            addCriterion("aja_proposer >=", value, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaProposerLessThan(String value) {
            addCriterion("aja_proposer <", value, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaProposerLessThanOrEqualTo(String value) {
            addCriterion("aja_proposer <=", value, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaProposerLike(String value) {
            addCriterion("aja_proposer like", value, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaProposerNotLike(String value) {
            addCriterion("aja_proposer not like", value, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaProposerIn(List<String> values) {
            addCriterion("aja_proposer in", values, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaProposerNotIn(List<String> values) {
            addCriterion("aja_proposer not in", values, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaProposerBetween(String value1, String value2) {
            addCriterion("aja_proposer between", value1, value2, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaProposerNotBetween(String value1, String value2) {
            addCriterion("aja_proposer not between", value1, value2, "ajaProposer");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateIsNull() {
            addCriterion("aja_audit_date is null");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateIsNotNull() {
            addCriterion("aja_audit_date is not null");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateEqualTo(Date value) {
            addCriterion("aja_audit_date =", value, "ajaAuditDate");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateNotEqualTo(Date value) {
            addCriterion("aja_audit_date <>", value, "ajaAuditDate");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateGreaterThan(Date value) {
            addCriterion("aja_audit_date >", value, "ajaAuditDate");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateGreaterThanOrEqualTo(Date value) {
            addCriterion("aja_audit_date >=", value, "ajaAuditDate");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateLessThan(Date value) {
            addCriterion("aja_audit_date <", value, "ajaAuditDate");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateLessThanOrEqualTo(Date value) {
            addCriterion("aja_audit_date <=", value, "ajaAuditDate");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateIn(List<Date> values) {
            addCriterion("aja_audit_date in", values, "ajaAuditDate");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateNotIn(List<Date> values) {
            addCriterion("aja_audit_date not in", values, "ajaAuditDate");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateBetween(Date value1, Date value2) {
            addCriterion("aja_audit_date between", value1, value2, "ajaAuditDate");
            return (Criteria) this;
        }

        public Criteria andAjaAuditDateNotBetween(Date value1, Date value2) {
            addCriterion("aja_audit_date not between", value1, value2, "ajaAuditDate");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorIsNull() {
            addCriterion("aja_auditor is null");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorIsNotNull() {
            addCriterion("aja_auditor is not null");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorEqualTo(String value) {
            addCriterion("aja_auditor =", value, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorNotEqualTo(String value) {
            addCriterion("aja_auditor <>", value, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorGreaterThan(String value) {
            addCriterion("aja_auditor >", value, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorGreaterThanOrEqualTo(String value) {
            addCriterion("aja_auditor >=", value, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorLessThan(String value) {
            addCriterion("aja_auditor <", value, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorLessThanOrEqualTo(String value) {
            addCriterion("aja_auditor <=", value, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorLike(String value) {
            addCriterion("aja_auditor like", value, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorNotLike(String value) {
            addCriterion("aja_auditor not like", value, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorIn(List<String> values) {
            addCriterion("aja_auditor in", values, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorNotIn(List<String> values) {
            addCriterion("aja_auditor not in", values, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorBetween(String value1, String value2) {
            addCriterion("aja_auditor between", value1, value2, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaAuditorNotBetween(String value1, String value2) {
            addCriterion("aja_auditor not between", value1, value2, "ajaAuditor");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumIsNull() {
            addCriterion("aja_ity_num is null");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumIsNotNull() {
            addCriterion("aja_ity_num is not null");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumEqualTo(Double value) {
            addCriterion("aja_ity_num =", value, "ajaItyNum");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumNotEqualTo(Double value) {
            addCriterion("aja_ity_num <>", value, "ajaItyNum");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumGreaterThan(Double value) {
            addCriterion("aja_ity_num >", value, "ajaItyNum");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumGreaterThanOrEqualTo(Double value) {
            addCriterion("aja_ity_num >=", value, "ajaItyNum");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumLessThan(Double value) {
            addCriterion("aja_ity_num <", value, "ajaItyNum");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumLessThanOrEqualTo(Double value) {
            addCriterion("aja_ity_num <=", value, "ajaItyNum");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumIn(List<Double> values) {
            addCriterion("aja_ity_num in", values, "ajaItyNum");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumNotIn(List<Double> values) {
            addCriterion("aja_ity_num not in", values, "ajaItyNum");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumBetween(Double value1, Double value2) {
            addCriterion("aja_ity_num between", value1, value2, "ajaItyNum");
            return (Criteria) this;
        }

        public Criteria andAjaItyNumNotBetween(Double value1, Double value2) {
            addCriterion("aja_ity_num not between", value1, value2, "ajaItyNum");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightIsNull() {
            addCriterion("aja_ity_weight is null");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightIsNotNull() {
            addCriterion("aja_ity_weight is not null");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightEqualTo(Double value) {
            addCriterion("aja_ity_weight =", value, "ajaItyWeight");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightNotEqualTo(Double value) {
            addCriterion("aja_ity_weight <>", value, "ajaItyWeight");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightGreaterThan(Double value) {
            addCriterion("aja_ity_weight >", value, "ajaItyWeight");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("aja_ity_weight >=", value, "ajaItyWeight");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightLessThan(Double value) {
            addCriterion("aja_ity_weight <", value, "ajaItyWeight");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightLessThanOrEqualTo(Double value) {
            addCriterion("aja_ity_weight <=", value, "ajaItyWeight");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightIn(List<Double> values) {
            addCriterion("aja_ity_weight in", values, "ajaItyWeight");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightNotIn(List<Double> values) {
            addCriterion("aja_ity_weight not in", values, "ajaItyWeight");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightBetween(Double value1, Double value2) {
            addCriterion("aja_ity_weight between", value1, value2, "ajaItyWeight");
            return (Criteria) this;
        }

        public Criteria andAjaItyWeightNotBetween(Double value1, Double value2) {
            addCriterion("aja_ity_weight not between", value1, value2, "ajaItyWeight");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusIsNull() {
            addCriterion("aja_ity_status is null");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusIsNotNull() {
            addCriterion("aja_ity_status is not null");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusEqualTo(Integer value) {
            addCriterion("aja_ity_status =", value, "ajaItyStatus");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusNotEqualTo(Integer value) {
            addCriterion("aja_ity_status <>", value, "ajaItyStatus");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusGreaterThan(Integer value) {
            addCriterion("aja_ity_status >", value, "ajaItyStatus");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("aja_ity_status >=", value, "ajaItyStatus");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusLessThan(Integer value) {
            addCriterion("aja_ity_status <", value, "ajaItyStatus");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusLessThanOrEqualTo(Integer value) {
            addCriterion("aja_ity_status <=", value, "ajaItyStatus");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusIn(List<Integer> values) {
            addCriterion("aja_ity_status in", values, "ajaItyStatus");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusNotIn(List<Integer> values) {
            addCriterion("aja_ity_status not in", values, "ajaItyStatus");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusBetween(Integer value1, Integer value2) {
            addCriterion("aja_ity_status between", value1, value2, "ajaItyStatus");
            return (Criteria) this;
        }

        public Criteria andAjaItyStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("aja_ity_status not between", value1, value2, "ajaItyStatus");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdIsNull() {
            addCriterion("aja_cdl_id is null");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdIsNotNull() {
            addCriterion("aja_cdl_id is not null");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdEqualTo(Integer value) {
            addCriterion("aja_cdl_id =", value, "ajaCdlId");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdNotEqualTo(Integer value) {
            addCriterion("aja_cdl_id <>", value, "ajaCdlId");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdGreaterThan(Integer value) {
            addCriterion("aja_cdl_id >", value, "ajaCdlId");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("aja_cdl_id >=", value, "ajaCdlId");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdLessThan(Integer value) {
            addCriterion("aja_cdl_id <", value, "ajaCdlId");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdLessThanOrEqualTo(Integer value) {
            addCriterion("aja_cdl_id <=", value, "ajaCdlId");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdIn(List<Integer> values) {
            addCriterion("aja_cdl_id in", values, "ajaCdlId");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdNotIn(List<Integer> values) {
            addCriterion("aja_cdl_id not in", values, "ajaCdlId");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdBetween(Integer value1, Integer value2) {
            addCriterion("aja_cdl_id between", value1, value2, "ajaCdlId");
            return (Criteria) this;
        }

        public Criteria andAjaCdlIdNotBetween(Integer value1, Integer value2) {
            addCriterion("aja_cdl_id not between", value1, value2, "ajaCdlId");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdIsNull() {
            addCriterion("aja_ity_id is null");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdIsNotNull() {
            addCriterion("aja_ity_id is not null");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdEqualTo(Integer value) {
            addCriterion("aja_ity_id =", value, "ajaItyId");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdNotEqualTo(Integer value) {
            addCriterion("aja_ity_id <>", value, "ajaItyId");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdGreaterThan(Integer value) {
            addCriterion("aja_ity_id >", value, "ajaItyId");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("aja_ity_id >=", value, "ajaItyId");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdLessThan(Integer value) {
            addCriterion("aja_ity_id <", value, "ajaItyId");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdLessThanOrEqualTo(Integer value) {
            addCriterion("aja_ity_id <=", value, "ajaItyId");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdIn(List<Integer> values) {
            addCriterion("aja_ity_id in", values, "ajaItyId");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdNotIn(List<Integer> values) {
            addCriterion("aja_ity_id not in", values, "ajaItyId");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdBetween(Integer value1, Integer value2) {
            addCriterion("aja_ity_id between", value1, value2, "ajaItyId");
            return (Criteria) this;
        }

        public Criteria andAjaItyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("aja_ity_id not between", value1, value2, "ajaItyId");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdIsNull() {
            addCriterion("aja_adj_id is null");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdIsNotNull() {
            addCriterion("aja_adj_id is not null");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdEqualTo(Integer value) {
            addCriterion("aja_adj_id =", value, "ajaAdjId");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdNotEqualTo(Integer value) {
            addCriterion("aja_adj_id <>", value, "ajaAdjId");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdGreaterThan(Integer value) {
            addCriterion("aja_adj_id >", value, "ajaAdjId");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("aja_adj_id >=", value, "ajaAdjId");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdLessThan(Integer value) {
            addCriterion("aja_adj_id <", value, "ajaAdjId");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdLessThanOrEqualTo(Integer value) {
            addCriterion("aja_adj_id <=", value, "ajaAdjId");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdIn(List<Integer> values) {
            addCriterion("aja_adj_id in", values, "ajaAdjId");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdNotIn(List<Integer> values) {
            addCriterion("aja_adj_id not in", values, "ajaAdjId");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdBetween(Integer value1, Integer value2) {
            addCriterion("aja_adj_id between", value1, value2, "ajaAdjId");
            return (Criteria) this;
        }

        public Criteria andAjaAdjIdNotBetween(Integer value1, Integer value2) {
            addCriterion("aja_adj_id not between", value1, value2, "ajaAdjId");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdIsNull() {
            addCriterion("aja_cpn_id is null");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdIsNotNull() {
            addCriterion("aja_cpn_id is not null");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdEqualTo(Integer value) {
            addCriterion("aja_cpn_id =", value, "ajaCpnId");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdNotEqualTo(Integer value) {
            addCriterion("aja_cpn_id <>", value, "ajaCpnId");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdGreaterThan(Integer value) {
            addCriterion("aja_cpn_id >", value, "ajaCpnId");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("aja_cpn_id >=", value, "ajaCpnId");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdLessThan(Integer value) {
            addCriterion("aja_cpn_id <", value, "ajaCpnId");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdLessThanOrEqualTo(Integer value) {
            addCriterion("aja_cpn_id <=", value, "ajaCpnId");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdIn(List<Integer> values) {
            addCriterion("aja_cpn_id in", values, "ajaCpnId");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdNotIn(List<Integer> values) {
            addCriterion("aja_cpn_id not in", values, "ajaCpnId");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdBetween(Integer value1, Integer value2) {
            addCriterion("aja_cpn_id between", value1, value2, "ajaCpnId");
            return (Criteria) this;
        }

        public Criteria andAjaCpnIdNotBetween(Integer value1, Integer value2) {
            addCriterion("aja_cpn_id not between", value1, value2, "ajaCpnId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}